After completing this lesson, you will be able to:
Once you publish your workspace to FME Flow, you may create a stream that runs continuously to process the data. For your workspace to work successfully as a stream, it must use a transformer in Stream mode that connects to the data stream source.
To create a stream, FME Flow presents a simple form that you fill out. Provide a name and an optional description, then select the workspace you want to use.

You may choose to enable Log Debug mode to enable additional logging for troubleshooting. This has a performance drawback, so use it only when testing your stream, not when running in production.
You can also enable Remote Stream and select the Remote Engine Service you would like to dedicate to your stream. Remote Engine Services are specialized FME Flow installations that let you run workspaces on engines close to your data, such as on other servers, cloud applications, or outside your network.

Once you create the stream, it starts running immediately. However, the workspace will not begin processing as a job until you assign an engine.
The Assigned Engines section lists the FME Flow Engines assigned to run your stream workspace continuously. If you do not have an engine assigned to the stream, clicking Manage opens another window to select one.

A window will appear, allowing you to select the engine to assign to your stream. This engine will only run this stream and will not be available for use in running other jobs on your FME Flow.

If your FME Flow user account doesn't have permission to access and manage engines, you will not see the Manage button; instead, you will see an error message.

You will need to contact your FME Flow administrator to either grant you the 'Manage Queue Control' and 'Manage Licensing & Engines' permissions or assign an engine to your stream for you.
You can scale processing throughput by assigning multiple engines to a stream. The engines run the same job simultaneously. The number of jobs a stream runs is equal to the number of engines assigned to the stream. For more information on how multiple engines process stream data, see Windowing Across Multiple FME Engines.
Once you assign an engine to your stream, it will begin running your workspace, creating a job and a log for the stream. You may have to refresh the page to see the job information on the stream page.

Because the engine continuously processes the workspace, the job will always appear as running until you manually stop the stream. You can click the job to open the job log and view detailed log information for the stream.

To stop your stream, click Stop on the stream page.

Note that once you stop your stream, the engine assigned to it remains dedicated and is not available to run other jobs in your FME Flow. To free the engine, use the Manage button to unassign it from the stream.

To start your stream again, click Start. Remember that the stream needs an assigned engine to run the workspace successfully.


So far, you've helped Jennifer identify trucks outside the City of Vancouver boundary and send alerts for those vehicles every minute. Next, you will deploy the workspace on FME Flow as a stream to run continuously to monitor the fleet traffic.
In this exercise, you will:
Continue with the same workspace open in FME Workbench from the previous exercise.

The FME Flow web connection should be created for you. If not, create a web connection with the following parameters:
- Web Service: FME Flow
- Connection Name: Training
- FME Flow URL: http://localhost
- Authentication: Basic
- User Name: admin
- Password: FMElearnings
CoV-fleet-stream.fmw or something similar, and click Next.













In a production environment, you will leave your stream running. In training, we recommend stopping your recently created stream to minimize the emails you will receive every minute for trucks outside of the City of Vancouver boundary.
